set_property PACKAGE_PIN E3 [get_ports CLK_IN]                            
set_property IOSTANDARD LVCMOS33 [get_ports CLK_IN]
create_clock -add -name sys_clk_pin -period 10.00 -waveform {0 5} [get_ports CLK_IN]

set_property PACKAGE_PIN C12 [get_ports RST]   
set_property IOSTANDARD LVCMOS33 [get_ports RST]

set_property PACKAGE_PIN T8 [get_ports {GPIO_LEDS[0]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[0]}]
set_property PACKAGE_PIN V9 [get_ports {GPIO_LEDS[1]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[1]}]
set_property PACKAGE_PIN R8 [get_ports {GPIO_LEDS[2]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[2]}]
set_property PACKAGE_PIN T6 [get_ports {GPIO_LEDS[3]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[3]}]
set_property PACKAGE_PIN T5 [get_ports {GPIO_LEDS[4]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[4]}]
set_property PACKAGE_PIN T4 [get_ports {GPIO_LEDS[5]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[5]}]
set_property PACKAGE_PIN U7 [get_ports {GPIO_LEDS[6]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[6]}]
set_property PACKAGE_PIN U6 [get_ports {GPIO_LEDS[7]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[7]}]
set_property PACKAGE_PIN V4 [get_ports {GPIO_LEDS[8]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[8]}]
set_property PACKAGE_PIN U3 [get_ports {GPIO_LEDS[9]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[9]}]
set_property PACKAGE_PIN V1 [get_ports {GPIO_LEDS[10]}]                  
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[10]}]
set_property PACKAGE_PIN R1 [get_ports {GPIO_LEDS[11]}]                  
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[11]}]
set_property PACKAGE_PIN P5 [get_ports {GPIO_LEDS[12]}]                  
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[12]}]
set_property PACKAGE_PIN U1 [get_ports {GPIO_LEDS[13]}]                  
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[13]}]
set_property PACKAGE_PIN R2 [get_ports {GPIO_LEDS[14]}]                  
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[14]}]
set_property PACKAGE_PIN P2 [get_ports {GPIO_LEDS[15]}]                  
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_LEDS[15]}]


set_property PACKAGE_PIN U9 [get_ports {GPIO_SWITCHES[0]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[0]}]
set_property PACKAGE_PIN U8 [get_ports {GPIO_SWITCHES[1]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[1]}]
set_property PACKAGE_PIN R7 [get_ports {GPIO_SWITCHES[2]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[2]}]
set_property PACKAGE_PIN R6 [get_ports {GPIO_SWITCHES[3]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[3]}]
set_property PACKAGE_PIN R5 [get_ports {GPIO_SWITCHES[4]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[4]}]
set_property PACKAGE_PIN V7 [get_ports {GPIO_SWITCHES[5]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[5]}]
set_property PACKAGE_PIN V6 [get_ports {GPIO_SWITCHES[6]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[6]}]
set_property PACKAGE_PIN V5 [get_ports {GPIO_SWITCHES[7]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[7]}]
set_property PACKAGE_PIN U4 [get_ports {GPIO_SWITCHES[8]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[8]}]
set_property PACKAGE_PIN V2 [get_ports {GPIO_SWITCHES[9]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[9]}]
set_property PACKAGE_PIN U2 [get_ports {GPIO_SWITCHES[10]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[10]}]
set_property PACKAGE_PIN T3 [get_ports {GPIO_SWITCHES[11]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[11]}]
set_property PACKAGE_PIN T1 [get_ports {GPIO_SWITCHES[12]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[12]}]
set_property PACKAGE_PIN R3 [get_ports {GPIO_SWITCHES[13]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[13]}]
set_property PACKAGE_PIN P3 [get_ports {GPIO_SWITCHES[14]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[14]}]
set_property PACKAGE_PIN P4 [get_ports {GPIO_SWITCHES[15]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {GPIO_SWITCHES[15]}]

set_property PACKAGE_PIN E16 [get_ports GPIO_BUTTONS[0]]                      
set_property IOSTANDARD LVCMOS33 [get_ports GPIO_BUTTONS[0]]
set_property PACKAGE_PIN F15 [get_ports GPIO_BUTTONS[1]]                      
set_property IOSTANDARD LVCMOS33 [get_ports GPIO_BUTTONS[1]]
set_property PACKAGE_PIN T16 [get_ports GPIO_BUTTONS[2]]                      
set_property IOSTANDARD LVCMOS33 [get_ports GPIO_BUTTONS[2]]
set_property PACKAGE_PIN R10 [get_ports GPIO_BUTTONS[3]]                      
set_property IOSTANDARD LVCMOS33 [get_ports GPIO_BUTTONS[3]]
set_property PACKAGE_PIN V10 [get_ports GPIO_BUTTONS[4]]                      
set_property IOSTANDARD LVCMOS33 [get_ports GPIO_BUTTONS[4]]

set_property PACKAGE_PIN C4 [get_ports RS232_RX]                       
set_property IOSTANDARD LVCMOS33 [get_ports RS232_RX]
set_property PACKAGE_PIN D4 [get_ports RS232_TX]                       
set_property IOSTANDARD LVCMOS33 [get_ports RS232_TX]

set_property PACKAGE_PIN L3 [get_ports {SEVEN_SEGMENT_CATHODE[0]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_CATHODE[0]}]
set_property PACKAGE_PIN N1 [get_ports {SEVEN_SEGMENT_CATHODE[1]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_CATHODE[1]}]
set_property PACKAGE_PIN L5 [get_ports {SEVEN_SEGMENT_CATHODE[2]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_CATHODE[2]}]
set_property PACKAGE_PIN L4 [get_ports {SEVEN_SEGMENT_CATHODE[3]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_CATHODE[3]}]
set_property PACKAGE_PIN K3 [get_ports {SEVEN_SEGMENT_CATHODE[4]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_CATHODE[4]}]
set_property PACKAGE_PIN M2 [get_ports {SEVEN_SEGMENT_CATHODE[5]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_CATHODE[5]}]
set_property PACKAGE_PIN L6 [get_ports {SEVEN_SEGMENT_CATHODE[6]}]                   
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_CATHODE[6]}]

set_property PACKAGE_PIN N6 [get_ports {SEVEN_SEGMENT_ANNODE[0]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_ANNODE[0]}]
set_property PACKAGE_PIN M6 [get_ports {SEVEN_SEGMENT_ANNODE[1]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_ANNODE[1]}]
set_property PACKAGE_PIN M3 [get_ports {SEVEN_SEGMENT_ANNODE[2]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_ANNODE[2]}]
set_property PACKAGE_PIN N5 [get_ports {SEVEN_SEGMENT_ANNODE[3]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_ANNODE[3]}]
set_property PACKAGE_PIN N2 [get_ports {SEVEN_SEGMENT_ANNODE[4]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_ANNODE[4]}]
set_property PACKAGE_PIN N4 [get_ports {SEVEN_SEGMENT_ANNODE[5]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_ANNODE[5]}]
set_property PACKAGE_PIN L1 [get_ports {SEVEN_SEGMENT_ANNODE[6]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_ANNODE[6]}]
set_property PACKAGE_PIN M1 [get_ports {SEVEN_SEGMENT_ANNODE[7]}]                    
set_property IOSTANDARD LVCMOS33 [get_ports {SEVEN_SEGMENT_ANNODE[7]}]

set_property PACKAGE_PIN F16 [get_ports SCL]                    
set_property IOSTANDARD LVCMOS33 [get_ports SCL]
set_property PACKAGE_PIN G16 [get_ports SDA]                    
set_property IOSTANDARD LVCMOS33 [get_ports SDA]

#set_property PACKAGE_PIN C9 [get_ports PhyMdc]                     
#set_property IOSTANDARD LVCMOS33 [get_ports PhyMdc]
#set_property PACKAGE_PIN A9 [get_ports PhyMdio]                    
#set_property IOSTANDARD LVCMOS33 [get_ports PhyMdio]
#set_property PACKAGE_PIN B8 [get_ports PhyIntn]                    
#set_property IOSTANDARD LVCMOS33 [get_ports PhyIntn]

set_property PACKAGE_PIN B3 [get_ports PHY_RESET_N]                    
set_property IOSTANDARD LVCMOS33 [get_ports PHY_RESET_N]
set_property PACKAGE_PIN D9 [get_ports RXDV]                     
set_property IOSTANDARD LVCMOS33 [get_ports RXDV]
set_property PACKAGE_PIN C10 [get_ports RXER]                  
set_property IOSTANDARD LVCMOS33 [get_ports RXER]
set_property PACKAGE_PIN D10 [get_ports {RXD[0]}]               
set_property IOSTANDARD LVCMOS33 [get_ports {RXD[0]}]
set_property PACKAGE_PIN C11 [get_ports {RXD[1]}]               
set_property IOSTANDARD LVCMOS33 [get_ports {RXD[1]}]
set_property PACKAGE_PIN B9 [get_ports TXEN]                    
set_property IOSTANDARD LVCMOS33 [get_ports TXEN]
set_property PACKAGE_PIN A10 [get_ports {TXD[0]}]               
set_property IOSTANDARD LVCMOS33 [get_ports {TXD[0]}]
set_property PACKAGE_PIN A8 [get_ports {TXD[1]}]                
set_property IOSTANDARD LVCMOS33 [get_ports {TXD[1]}]

set_property PACKAGE_PIN D5 [get_ports ETH_CLK]                
set_property IOSTANDARD LVCMOS33 [get_ports ETH_CLK]


set_property PACKAGE_PIN K5 [get_ports LED_R_PWM]					
set_property IOSTANDARD LVCMOS33 [get_ports LED_R_PWM]
set_property PACKAGE_PIN F13 [get_ports LED_G_PWM]				
set_property IOSTANDARD LVCMOS33 [get_ports LED_G_PWM]
set_property PACKAGE_PIN F6 [get_ports LED_B_PWM]	
set_property IOSTANDARD LVCMOS33 [get_ports LED_B_PWM]

set_property PACKAGE_PIN F4 [get_ports KC]						
set_property IOSTANDARD LVCMOS33 [get_ports KC]
set_property PULLUP true [get_ports KC]

set_property PACKAGE_PIN B2 [get_ports KD]					
set_property IOSTANDARD LVCMOS33 [get_ports KD]	
set_property PULLUP true [get_ports KD]

set_property PACKAGE_PIN A3 [get_ports {VGA_R[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_R[0]}]
set_property PACKAGE_PIN B4 [get_ports {VGA_R[1]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_R[1]}]
set_property PACKAGE_PIN C5 [get_ports {VGA_R[2]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_R[2]}]
set_property PACKAGE_PIN A4 [get_ports {VGA_R[3]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_R[3]}]
set_property PACKAGE_PIN B7 [get_ports {VGA_B[0]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_B[0]}]
set_property PACKAGE_PIN C7 [get_ports {VGA_B[1]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_B[1]}]
set_property PACKAGE_PIN D7 [get_ports {VGA_B[2]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_B[2]}]
set_property PACKAGE_PIN D8 [get_ports {VGA_B[3]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_B[3]}]
set_property PACKAGE_PIN C6 [get_ports {VGA_G[0]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_G[0]}]
set_property PACKAGE_PIN A5 [get_ports {VGA_G[1]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_G[1]}]
set_property PACKAGE_PIN B6 [get_ports {VGA_G[2]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_G[2]}]
set_property PACKAGE_PIN A6 [get_ports {VGA_G[3]}]				
set_property IOSTANDARD LVCMOS33 [get_ports {VGA_G[3]}]
set_property PACKAGE_PIN B11 [get_ports HSYNCH]						
set_property IOSTANDARD LVCMOS33 [get_ports HSYNCH]
set_property PACKAGE_PIN B12 [get_ports VSYNCH]						
set_property IOSTANDARD LVCMOS33 [get_ports VSYNCH]

set_property PACKAGE_PIN A11 [get_ports AUDIO]						
set_property IOSTANDARD LVCMOS33 [get_ports AUDIO]

set_property PACKAGE_PIN D12 [get_ports AUDIO_EN]						
set_property IOSTANDARD LVCMOS33 [get_ports AUDIO_EN]

set_property PACKAGE_PIN K2 [get_ports {JC[0]}]					
	set_property IOSTANDARD LVCMOS33 [get_ports {JC[0]}]
set_property PACKAGE_PIN E7 [get_ports {JC[1]}]					
	set_property IOSTANDARD LVCMOS33 [get_ports {JC[1]}]
set_property PACKAGE_PIN J3 [get_ports {JC[2]}]					
	set_property IOSTANDARD LVCMOS33 [get_ports {JC[2]}]
set_property PACKAGE_PIN J4 [get_ports {JC[3]}]					
	set_property IOSTANDARD LVCMOS33 [get_ports {JC[3]}]
set_property PACKAGE_PIN K1 [get_ports {JC[4]}]					
	set_property IOSTANDARD LVCMOS33 [get_ports {JC[4]}]
set_property PACKAGE_PIN E6 [get_ports {JC[5]}]					
	set_property IOSTANDARD LVCMOS33 [get_ports {JC[5]}]
set_property PACKAGE_PIN J2 [get_ports {JC[6]}]					
	set_property IOSTANDARD LVCMOS33 [get_ports {JC[6]}]
set_property PACKAGE_PIN G6 [get_ports {JC[7]}]					
	set_property IOSTANDARD LVCMOS33 [get_ports {JC[7]}]
